home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2635 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.missouri.edu!gold!c621412
  2. From: c621412@gold.missouri.edu (Russ 'Argel' LeBar)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: I've forgotten, current directory char.
  5. Date: 23 Jan 1996 02:30:00 GMT
  6. Organization: University of Missouri - Columbia
  7. Message-ID: <4e1h79$pvm@news.missouri.edu>
  8. References: <4dkca3$aes@rock101.genie.net>
  9. NNTP-Posting-Host: gold.missouri.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. IAN J. EINMAN (i.einman@genie.com) wrote:
  13. : >>Anyway what is the character for current working directory ?
  14.  
  15. : copy C: ""  will copy everything from C: to the current directory.
  16.  
  17. : CWD:    ""
  18.  
  19. I've looked all over the place and don't see it anywhere, but I could 
  20. swear there is an env var or builtin assign or something called 
  21. "Current_Directory" or something like that. Like I said, I can't find any 
  22. mention of it now but I could swear I used to know what it was and used 
  23. it once or twice! Maybe I'm just going insane!?
  24.  
  25. Incidently, if you want to know the full path of the CWD, you can do a
  26. "cd"  with no arguments. This of course can be used with the backtick as
  27. well (e.g.  "dir `cd`") which could be used to make a CWD variable -- "set
  28. CWD `cd`" though it wouldn't get updated, but it could be midly useful in
  29. scripts. 
  30.  
  31. --
  32. /---Russ-LeBar-------+---- c621412@@showme.missouri.edu -----S()-------\
  33. |   // Dare to Dream | Creator of Argel Ptrs & Term toolstrip imagery  |
  34. | \X/    A M I G A   | A1200-6MB-14Mhz881-426HD  --  Term beta tester  |
  35. |WWW: http://www.missouri.edu/~c621412/  --  Kathy Troccoli, artwork...|
  36. |FTP: musie.phlab.missouri.edu in pub/amiga -- Term betas, ArgelPtrs...|
  37. \------S()--Argel----------- Opinions are mine & thus CORRECT =) ------/
  38.